﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using TBlog.Web.Common.PageHelper;
using TBlog.Web.Models;
using TBlog.Web.ViewModel;

namespace TBlog.Web.Service
{
    public interface ICategoryService:IBaseService<Category>
    {
        PagedList<Category> GetCategory(Expression<Func<Category,bool>> predicate,PageListRequest pr);
        bool IsExists(string name);
    }
}
